Skip to content

chore(ci): migrate from macos-13 to macos-15-intel runner#1320

Merged
xushiwei merged 1 commit intogoplus:mainfrom
aofei:ci
Sep 26, 2025
Merged

chore(ci): migrate from macos-13 to macos-15-intel runner#1320
xushiwei merged 1 commit intogoplus:mainfrom
aofei:ci

Conversation

@aofei
Copy link
Member

@aofei aofei commented Sep 22, 2025

GitHub announced the deprecation of the macos-13 runner image1, which will be completely removed by December 4th, 2025.

This commit migrates all workflows to use macos-15-intel runners following the announcement's recommendation.

This also uses ubuntu-latest alias instead of explicit ubuntu-24.04.

Footnotes

  1. https://github.blog/changelog/2025-09-19-github-actions-macos-13-runner-image-is-closing-down/

GitHub announced the deprecation of the `macos-13` runner image[^1],
which will be completely removed by December 4th, 2025.

This commit migrates all workflows to use `macos-15-intel` runners
following the announcement's recommendation.

This also uses `ubuntu-latest` alias instead of explicit `ubuntu-24.04`.

[^1]: https://github.blog/changelog/2025-09-19-github-actions-macos-13-runner-image-is-closing-down/

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
@gemini-code-assist
Copy link

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@niupilot
Copy link

niupilot bot commented Sep 22, 2025

✅ Review Complete: GitHub Actions Runner Migration

Review Summary

This PR successfully migrates from the deprecated macos-13 runner to macos-15-intel and standardizes Ubuntu runner references. The changes are well-motivated by GitHub's deprecation announcement and follow a consistent pattern across all workflow files.

Code Quality Assessment

Positive Findings

  • Consistent Migration Pattern: All 7 workflow files follow the same migration approach
  • Complete Coverage: Only one macos-13 reference found and properly migrated (.github/workflows/release-build.yml:156)
  • Ubuntu Standardization: Proper migration from explicit ubuntu-24.04 to ubuntu-latest alias
  • Whitespace Cleanup: Minor formatting fixes (trailing spaces) improve consistency

⚠️ Areas Requiring Attention

1. Package Dependency Change (.github/workflows/populate_linux_sysroot.sh:20)

  • Issue: Changed from gnupg2 to gnupg
  • Impact: While gnupg is typically the standard package name, this unrelated change should be verified
  • Recommendation: Confirm this change is intentional and test in CI environment

2. Runner Availability Verification

  • Concern: macos-15-intel is a relatively new runner image
  • Recommendation: Verify this runner is available in your GitHub environment (particularly for private repos or older organizations)

3. Testing Strategy

  • Gap: No staged rollout or fallback mechanism if new runners encounter issues
  • Recommendation: Monitor initial CI runs closely after merge

Architecture & Design

Sound Decisions

  • Future-Proofing: Migration ahead of December 4th, 2025 deadline shows good planning
  • Standardization: Using ubuntu-latest instead of version-specific tags improves maintainability
  • Minimal Scope: Focused changes reduce risk of introducing unrelated issues

📝 Considerations

  • The migration maintains existing job matrices and dependencies correctly
  • Build and test workflows remain functionally equivalent
  • Cross-platform testing coverage is preserved

File-by-File Analysis

File Changes Status
doc.yml ubuntu-24.04 → ubuntu-latest (3 instances) ✅ Correct
fmt.yml Whitespace cleanup only ✅ Minor improvement
go.yml ubuntu-24.04 → ubuntu-latest (1 instance) ✅ Correct
llgo.yml ubuntu-24.04 → ubuntu-latest (4 instances) ✅ Correct
populate_linux_sysroot.sh gnupg2 → gnupg ⚠️ Verify necessity
release-build.yml macos-13 → macos-15-intel (1 instance) ✅ Correct
targets.yml ubuntu-24.04 → ubuntu-latest (1 instance) ✅ Correct

Final Recommendation

✅ APPROVE - This PR effectively addresses the macos-13 deprecation with a well-executed migration strategy. The only minor concern is the gnupg2gnupg change which should be verified but doesn't block approval.

The migration is timely, comprehensive, and maintains existing functionality while improving maintainability through standardization.


👉 Want me to re-run this review? Just type /review in the comments! For more usage examples, visit CodeAgent GitHub Repository.

@codecov
Copy link

codecov bot commented Sep 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.10%. Comparing base (8959c83) to head (79f404a).
⚠️ Report is 18 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1320   +/-   ##
=======================================
  Coverage   90.10%   90.10%           
=======================================
  Files          43       43           
  Lines       12576    12576           
=======================================
  Hits        11332    11332           
  Misses       1088     1088           
  Partials      156      156           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

luoliwoshang added a commit to luoliwoshang/llgo that referenced this pull request Sep 26, 2025
@xushiwei xushiwei merged commit 1ee4da9 into goplus:main Sep 26, 2025
43 checks passed
@aofei aofei deleted the ci branch September 26, 2025 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants